using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace HHHFramework {
    public class ResSearchKeys
    {
        private string assetName;
        private string ownerBundle;
        private Type assetType;

        public string AssetName { get => assetName; set => assetName = value; }
        public string OwnerBundle { get => ownerBundle; set => ownerBundle = value; }
        public Type AssetType { get => assetType; set => assetType = value; }

        private ResSearchKeys(string assetName, string ownerBundle, Type assetType)
        {
            AssetName = assetName;
            OwnerBundle = ownerBundle;
            AssetType = assetType;
        }

        public static ResSearchKeys Allocate(string assetName, string ownerBundle = null, Type assetType = null)
        {
            return new ResSearchKeys(assetName, ownerBundle, assetType);
        }

    }
}

